package com.moonciki.artadmin.web.mybatis.entity.fuzhu;

import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 测试树形对象 fz_test_menu
 *
 * @author ruoyi
 * @date 2022-02-16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "fz_test_menu")
public class FzTestMenu {

    /** $column.columnComment **/
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    /** 名称 **/
    private String name;
    /** code **/
    private String code;
    /** 父节点 **/
    @Column(name = "parent_id")
    private Long parentId;
    /** $column.columnComment **/
    private String remark;


}
